package com.demo.mapper;


import java.util.List;
import com.demo.domain.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 学生信息表 Mapper 接口
 * </p>
 *
 * @author wu
 * @since 2025-06-20 14:06:18
 */
public interface UserMapper extends BaseMapper<User> {
        public List<User> findAll();

        public  User findOne(Long id);

        public boolean add(User user);

        public boolean update(User user);

        public  boolean deleteByid(Long id);

    Integer findCountByUserName(String userName);
}
